package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.create.JzdxLegalInstrumentCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.JzdxLegalInstrumentQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxLegalInstrumentResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxLegalInstrumentUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxLegalInstrumentEntity;

public interface JzdxLegalInstrumentService extends IService<JzdxLegalInstrumentEntity> {

    PageInfo<JzdxLegalInstrumentResultDTO> pageList(Params page, JzdxLegalInstrumentQueryDTO dto);

    Boolean create(JzdxLegalInstrumentCreateDTO dto);

    Boolean update(JzdxLegalInstrumentUpdateDTO dto);

    JzdxLegalInstrumentResultDTO getById(Long id);
}